# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
platform :ios, '9.0'
target 'timvel' do

  pod 'React', path: '../node_modules/react-native', subspecs: [
    'Core',
    'RCTActionSheet',
    'RCTAnimation',
    'RCTGeolocation',
    'RCTImage',
    'RCTLinkingIOS',
    'RCTNetwork',
    'RCTSettings',
    'RCTText',
    'RCTVibration',
    'RCTWebSocket'
  ]
  # Third party deps podspec link
  # pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  # pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  # pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
  pod 'yoga', path: '../node_modules/react-native/ReactCommon/yoga'
  pod 'RNImageCropPicker', :path =>  '../node_modules/react-native-image-crop-picker'
  pod 'react-native-image-picker', :path => '../node_modules/react-native-image-picker'
  pod 'lottie-ios', :path => '../node_modules/lottie-ios'
  pod 'lottie-react-native', :path => '../node_modules/lottie-react-native'
  pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen'
  
  pod 'aliyun-oss-react-native', :path => '../node_modules/aliyun-oss-react-native'

  pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-info'


  pod 'Interactable', :path => '../node_modules/react-native-interactable'

  pod 'react-native-fast-image', :path => '../node_modules/react-native-fast-image'

  pod 'RNFS', :path => '../node_modules/react-native-fs'

  pod 'react-native-async-storage', :path => '../node_modules/@react-native-community/async-storage'

  pod 'react-native-slider', :path => '../node_modules/@react-native-community/slider'

  pod 'ReactNativePermissions', :path => '../node_modules/react-native-permissions'

  pod 'react-native-camera', :path => '../node_modules/react-native-camera'

end

# very important to have, unless you removed React dependencies for Libraries 
# and you rely on Cocoapods to manage it
post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.name == "React"
      target.remove_from_project
    end
  end

end